menu

Purpose

An element, much like a button, that is placed on a menu bar. When the user clicks the menu element, the child Menupopup of the menu will be displayed. This element is also used to create submenus of Menupopup.

Examples

<z:menubar>
    <z:menu label="File">
        <z:menupopup>
            <z:menuitem label="New"/>
            <z:menuitem label="Open"/>
            <z:menuitem label="Save"/>
            <z:menuseparator/>
            <z:menuitem label="Exit"/>
        </z:menupopup>
    </z:menu>
</z:menubar>

Description

Attributes

ZK Official Reference

Component Reference

Show menu Component Reference

Java API

Show menu Java API